package com.dimensionx.links.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyz
 * @since 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("links_data_message")
@ApiModel(value="DataMessage对象", description="")
public class DataMessage extends Model<DataMessage> {

    private static final long serialVersionUID=1L;

    private Integer id;

    private Integer caseId;

    private String msgType;

    private String senderType;

    private String senderId;

    private String content;

    private Date createdAt;

    private Date updatedAt;

    private Date msgDate;

    private String msgId;

    private String mention;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
